package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收付款管理对象 collection_manag
 * 
 * @author LP
 * @date 2023-04-04
 */
public class CollectionManag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**   */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 收款方名称 */
    @Excel(name = "收款方名称")
    private String namePayeee;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 开户行 */
    @Excel(name = "开户行")
    private String openingBank;

    /** 开户账号 */
    @Excel(name = "开户账号")
    private String number;

    /** 开户行地址 */
    @Excel(name = "开户行地址")
    private String bankAddress;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 账户类型 0对公账户 1一般账户 */
    @Excel(name = "账户类型 0对公账户 1一般账户")
    private String accountType;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setNamePayeee(String namePayeee) 
    {
        this.namePayeee = namePayeee;
    }

    public String getNamePayeee() 
    {
        return namePayeee;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setOpeningBank(String openingBank) 
    {
        this.openingBank = openingBank;
    }

    public String getOpeningBank() 
    {
        return openingBank;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setBankAddress(String bankAddress) 
    {
        this.bankAddress = bankAddress;
    }

    public String getBankAddress() 
    {
        return bankAddress;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAccountType(String accountType) 
    {
        this.accountType = accountType;
    }

    public String getAccountType() 
    {
        return accountType;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("namePayeee", getNamePayeee())
            .append("wechat", getWechat())
            .append("openingBank", getOpeningBank())
            .append("number", getNumber())
            .append("bankAddress", getBankAddress())
            .append("phone", getPhone())
            .append("accountType", getAccountType())
            .append("remarks", getRemarks())
            .toString();
    }
}
